package com.fy.springcloud.controller.feign.fallback;

import com.fy.springcloud.controller.feign.EchoServiceFeign;
import org.springframework.stereotype.Component;

@Component
public class EchoServiceFeignFallback implements EchoServiceFeign {
    @Override
    public String echo(String str) {
        return "echo fallback";
    }

    @Override
    public String divide(Integer a, Integer b) {
        return "divide fallback";
    }

    @Override
    public String notFound() {
        return "notFound fallback";
    }
}
